package com.ruoyi.yuan.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 星系信息对象 yuan_galaxy
 * 
 * @author guifeng
 * @date 2022-08-21
 */
public class Galaxy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 星系ID */
    private Long galaxyId;

    /** 星系名 */
    @Excel(name = "星系名")
    private String galaxyName;

    /** 星系团ID */
    @Excel(name = "星系团ID")
    private Long clusterId;

    /** 星星信息（含恒星、行星、卫星等）信息 */
    private List<Star> starList;

    public void setGalaxyId(Long galaxyId) 
    {
        this.galaxyId = galaxyId;
    }

    public Long getGalaxyId() 
    {
        return galaxyId;
    }
    public void setGalaxyName(String galaxyName) 
    {
        this.galaxyName = galaxyName;
    }

    public String getGalaxyName() 
    {
        return galaxyName;
    }
    public void setClusterId(Long clusterId) 
    {
        this.clusterId = clusterId;
    }

    public Long getClusterId() 
    {
        return clusterId;
    }

    public List<Star> getStarList()
    {
        return starList;
    }

    public void setStarList(List<Star> starList)
    {
        this.starList = starList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("galaxyId", getGalaxyId())
            .append("galaxyName", getGalaxyName())
            .append("clusterId", getClusterId())
            .append("starList", getStarList())
            .toString();
    }
}
